import request from "@/utils/request";

export function statistics(params) {
    return request
        .get("/blog/statistics", {
            params: params
        })
}
export function downloadBlog(params) {
    return request
        .get("/excel/downloadBlog", {
            params: params
        })
}
export function uploadBlog(data) {
    return request
        .post("/excel/uploadBlog", data,{
            headers: {
                'Content-Type': 'multipart/form-data'
            }
        })
}
